//
//  EntertainmentDetailViewController.m
//  Product_NEWS
//
//  Created by dllo on 15/12/28.
//  Copyright © 2015年 FCH. All rights reserved.
//

#import "EntertainmentDetailViewController.h"
#import "EntertainmentDetailView.h"
@interface EntertainmentDetailViewController ()

@end

@implementation EntertainmentDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    EntertainmentDetailView *entertainmentDetailView = [[EntertainmentDetailView alloc]initWithFrame:[[UIScreen mainScreen]bounds] Entertainment:self.model];
    entertainmentDetailView.contentSize = CGSizeMake(entertainmentDetailView.frame.size.width, 400 +entertainmentDetailView.contentLabel.frame.size.height);
    
    [self.view addSubview:entertainmentDetailView];
    [entertainmentDetailView release];

    
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
